/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FrmConsPagar.java
 *
 * Created on 22/09/2009, 09:41:47
 */

package contasreceber.telas;

import conexao.DAOException;
import contasreceber.bd.ContasReceberDao;
import contasreceber.classes.ContasReceber;
import contasreceber.classes.ContasReceberTableModel;
import java.awt.Image;
import java.awt.Toolkit;
import java.net.URL;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;
import javax.swing.UIManager;

/**
 *
 * @author Wolverine
 */
public class FrmConsultaReceber extends javax.swing.JFrame {

    private ContasReceberDao dao = null;
    private ContasReceberTableModel model = null;
    private ContasReceberTableModel model1 = null;
    private ContasReceberTableModel model2 = null;

    /** Creates new form FrmConsPagar */
    public FrmConsultaReceber() throws DAOException {
        try {
            dao = new ContasReceberDao();
            List<ContasReceber> listaContasReceber = dao.getContaVencendo();
            List<ContasReceber> listaContasReceber1 = dao.getContaVencer();
            List<ContasReceber> listaContasReceber2 = dao.getContaVencida();
            model = new ContasReceberTableModel(listaContasReceber);
            model1 = new ContasReceberTableModel(listaContasReceber1);
            model2 = new ContasReceberTableModel(listaContasReceber2);

       } catch (DAOException ex) {
           ex.printStackTrace();
           model = new ContasReceberTableModel(new ArrayList<ContasReceber>());
       }
        initComponents();
        URL url = this.getClass().getResource("/imagens/logo_mini.png");
        Image imagemTitulo = Toolkit.getDefaultToolkit().getImage(url);
        this.setIconImage(imagemTitulo);
        this.setLocationRelativeTo(null);
        try{
            UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
        }catch (Exception e){
        }
        VencendojTable.setModel(model);
        VencerjTable.setModel(model1);
        VencidajTable.setModel(model2);
        calcularTotais();
        setVisible(true);
    }

    public void calcularTotais() throws DAOException{
        double vencendo = dao.calcularVencendo();
        double vencer = dao.calcularVencer();
        double vencida = dao.calcularVencidas();
        DecimalFormat df = new DecimalFormat("###,##0.00");
        String valorFormatado = df.format(vencendo);
        totalVencendojLabel.setText(valorFormatado);
        valorFormatado = df.format(vencer);
        totalVencerjLabel.setText(valorFormatado);
        valorFormatado = df.format(vencida);
        totalVencidasjLabel.setText(valorFormatado);
        valorFormatado = df.format(vencida+vencer+vencendo);
        totaljLabel.setText(valorFormatado);

    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        AssociadosjPanel = new javax.swing.JPanel();
        PesquisadeAssociadosjTextField = new javax.swing.JTextField();
        CredorjLabel = new javax.swing.JLabel();
        BarradeTarefasjToolBar = new javax.swing.JToolBar();
        AdicionarjButton = new javax.swing.JButton();
        EditarjButton = new javax.swing.JButton();
        ExcluirjButton = new javax.swing.JButton();
        DependentejButton = new javax.swing.JButton();
        PesquisarjButton = new javax.swing.JButton();
        SeparadordeTarefasjSeparator = new javax.swing.JToolBar.Separator();
        ImprimirjButton = new javax.swing.JButton();
        VisualizarjButton = new javax.swing.JButton();
        RelatoriojButton = new javax.swing.JButton();
        VoltarjButton = new javax.swing.JButton();
        ContasjTabbedPane = new javax.swing.JTabbedPane();
        jScrollPane1 = new javax.swing.JScrollPane();
        VencendojTable = new javax.swing.JTable();
        jScrollPane2 = new javax.swing.JScrollPane();
        VencerjTable = new javax.swing.JTable();
        jScrollPane3 = new javax.swing.JScrollPane();
        VencidajTable = new javax.swing.JTable();
        jLabel2 = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        totalVencendojLabel = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jPanel3 = new javax.swing.JPanel();
        totalVencerjLabel = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jPanel7 = new javax.swing.JPanel();
        totalVencidasjLabel = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        jPanel6 = new javax.swing.JPanel();
        totaljLabel = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Controle de Contas a Receber");
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        AssociadosjPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        AssociadosjPanel.setPreferredSize(new java.awt.Dimension(800, 600));
        AssociadosjPanel.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
        AssociadosjPanel.add(PesquisadeAssociadosjTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 40, 490, -1));

        CredorjLabel.setText("Nome do Sacado");
        AssociadosjPanel.add(CredorjLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 23, -1, -1));

        BarradeTarefasjToolBar.setFloatable(false);
        BarradeTarefasjToolBar.setRollover(true);

        AdicionarjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/dinheiromais.png"))); // NOI18N
        AdicionarjButton.setText("Gerar");
        AdicionarjButton.setToolTipText("Adicionar Contas a Receber");
        AdicionarjButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        AdicionarjButton.setMaximumSize(new java.awt.Dimension(80, 90));
        AdicionarjButton.setMinimumSize(new java.awt.Dimension(80, 90));
        AdicionarjButton.setName(""); // NOI18N
        AdicionarjButton.setPreferredSize(new java.awt.Dimension(80, 90));
        AdicionarjButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        BarradeTarefasjToolBar.add(AdicionarjButton);

        EditarjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/dinheiroedit.png"))); // NOI18N
        EditarjButton.setText("Editar");
        EditarjButton.setToolTipText("Editar Associado");
        EditarjButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        EditarjButton.setMaximumSize(new java.awt.Dimension(80, 90));
        EditarjButton.setMinimumSize(new java.awt.Dimension(80, 90));
        EditarjButton.setPreferredSize(new java.awt.Dimension(80, 90));
        EditarjButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        BarradeTarefasjToolBar.add(EditarjButton);

        ExcluirjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/dinheiromenos.png"))); // NOI18N
        ExcluirjButton.setText("Excluir");
        ExcluirjButton.setToolTipText("Excluir Contas a Receber");
        ExcluirjButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        ExcluirjButton.setMaximumSize(new java.awt.Dimension(80, 90));
        ExcluirjButton.setMinimumSize(new java.awt.Dimension(80, 90));
        ExcluirjButton.setPreferredSize(new java.awt.Dimension(80, 90));
        ExcluirjButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        BarradeTarefasjToolBar.add(ExcluirjButton);

        DependentejButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/money2.png"))); // NOI18N
        DependentejButton.setText("Liquidar");
        DependentejButton.setToolTipText("Liquidar Contas a Receber");
        DependentejButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        DependentejButton.setMaximumSize(new java.awt.Dimension(80, 90));
        DependentejButton.setMinimumSize(new java.awt.Dimension(80, 90));
        DependentejButton.setPreferredSize(new java.awt.Dimension(80, 90));
        DependentejButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        DependentejButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                abrirLiquidar(evt);
            }
        });
        BarradeTarefasjToolBar.add(DependentejButton);

        PesquisarjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/pesquisar.png"))); // NOI18N
        PesquisarjButton.setText("Pesquisar");
        PesquisarjButton.setToolTipText("Pesquisar Contas a Receber");
        PesquisarjButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        PesquisarjButton.setMaximumSize(new java.awt.Dimension(80, 90));
        PesquisarjButton.setMinimumSize(new java.awt.Dimension(80, 90));
        PesquisarjButton.setPreferredSize(new java.awt.Dimension(80, 90));
        PesquisarjButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        BarradeTarefasjToolBar.add(PesquisarjButton);
        BarradeTarefasjToolBar.add(SeparadordeTarefasjSeparator);

        ImprimirjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/impressao.png"))); // NOI18N
        ImprimirjButton.setText("Imprimir");
        ImprimirjButton.setToolTipText("Imprimir");
        ImprimirjButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        ImprimirjButton.setMaximumSize(new java.awt.Dimension(80, 90));
        ImprimirjButton.setMinimumSize(new java.awt.Dimension(80, 90));
        ImprimirjButton.setPreferredSize(new java.awt.Dimension(80, 90));
        ImprimirjButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        BarradeTarefasjToolBar.add(ImprimirjButton);

        VisualizarjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/visualizar.png"))); // NOI18N
        VisualizarjButton.setText("Visualizar");
        VisualizarjButton.setToolTipText("Visualizar Contas a Receber");
        VisualizarjButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        VisualizarjButton.setMaximumSize(new java.awt.Dimension(80, 90));
        VisualizarjButton.setMinimumSize(new java.awt.Dimension(80, 90));
        VisualizarjButton.setPreferredSize(new java.awt.Dimension(80, 90));
        VisualizarjButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        BarradeTarefasjToolBar.add(VisualizarjButton);

        RelatoriojButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/relatorio.png"))); // NOI18N
        RelatoriojButton.setText("Relatórios");
        RelatoriojButton.setToolTipText("Relatórios");
        RelatoriojButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        RelatoriojButton.setMaximumSize(new java.awt.Dimension(80, 90));
        RelatoriojButton.setMinimumSize(new java.awt.Dimension(80, 90));
        RelatoriojButton.setPreferredSize(new java.awt.Dimension(80, 90));
        RelatoriojButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        BarradeTarefasjToolBar.add(RelatoriojButton);

        VoltarjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/voltar.png"))); // NOI18N
        VoltarjButton.setText("Voltar");
        VoltarjButton.setToolTipText("Voltar");
        VoltarjButton.setFocusable(false);
        VoltarjButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        VoltarjButton.setMaximumSize(new java.awt.Dimension(80, 90));
        VoltarjButton.setMinimumSize(new java.awt.Dimension(80, 90));
        VoltarjButton.setPreferredSize(new java.awt.Dimension(80, 90));
        VoltarjButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        VoltarjButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                VoltarjButtonActionPerformed(evt);
            }
        });
        BarradeTarefasjToolBar.add(VoltarjButton);

        AssociadosjPanel.add(BarradeTarefasjToolBar, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 470, 740, 80));

        ContasjTabbedPane.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                ContasjTabbedPaneStateChanged(evt);
            }
        });
        ContasjTabbedPane.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                ContasjTabbedPanePropertyChange(evt);
            }
        });
        ContasjTabbedPane.addVetoableChangeListener(new java.beans.VetoableChangeListener() {
            public void vetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {
                ContasjTabbedPaneVetoableChange(evt);
            }
        });

        VencendojTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "Nº Conta", "Data Conta", "Sacado", "Data Vencimento", "Valor Conta"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        VencendojTable.getColumnModel().getColumn(0).setPreferredWidth(30);
        VencendojTable.getColumnModel().getColumn(1).setPreferredWidth(30);
        VencendojTable.getColumnModel().getColumn(2).setPreferredWidth(300);
        VencendojTable.getColumnModel().getColumn(3).setPreferredWidth(30);
        VencendojTable.getColumnModel().getColumn(4).setPreferredWidth(30);
        jScrollPane1.setViewportView(VencendojTable);
        VencendojTable.getColumnModel().getColumn(0).setPreferredWidth(20);
        VencendojTable.getColumnModel().getColumn(1).setPreferredWidth(20);
        VencendojTable.getColumnModel().getColumn(2).setPreferredWidth(300);
        VencendojTable.getColumnModel().getColumn(3).setPreferredWidth(20);
        VencendojTable.getColumnModel().getColumn(4).setPreferredWidth(20);

        ContasjTabbedPane.addTab("Contas Vencendo", jScrollPane1);

        VencerjTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "Nº Conta", "Data Conta", "Sacado", "Data Vencimento", "Valor Conta"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        VencerjTable.getColumnModel().getColumn(0).setPreferredWidth(30);
        VencerjTable.getColumnModel().getColumn(1).setPreferredWidth(30);
        VencerjTable.getColumnModel().getColumn(2).setPreferredWidth(300);
        VencerjTable.getColumnModel().getColumn(3).setPreferredWidth(30);
        VencerjTable.getColumnModel().getColumn(4).setPreferredWidth(30);
        jScrollPane2.setViewportView(VencerjTable);

        ContasjTabbedPane.addTab("Contas a Vencer", jScrollPane2);

        VencidajTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "Nº Conta", "Data Conta", "Sacado", "Data Vencimento", "Valor Conta"
            }
        ));
        VencidajTable.getColumnModel().getColumn(0).setPreferredWidth(30);
        VencidajTable.getColumnModel().getColumn(1).setPreferredWidth(30);
        VencidajTable.getColumnModel().getColumn(2).setPreferredWidth(300);
        VencidajTable.getColumnModel().getColumn(3).setPreferredWidth(30);
        VencidajTable.getColumnModel().getColumn(4).setPreferredWidth(30);
        jScrollPane3.setViewportView(VencidajTable);

        ContasjTabbedPane.addTab("Contas Vencidas", jScrollPane3);

        AssociadosjPanel.add(ContasjTabbedPane, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 70, 830, 320));

        jLabel2.setText("Total Vencendo");
        AssociadosjPanel.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 402, -1, -1));

        jPanel4.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPanel4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        totalVencendojLabel.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N
        totalVencendojLabel.setForeground(java.awt.Color.blue);
        totalVencendojLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        totalVencendojLabel.setText("0,00");
        jPanel4.add(totalVencendojLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 140, -1));

        AssociadosjPanel.add(jPanel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 420, 160, 40));

        jLabel3.setText("Total a Vencer");
        AssociadosjPanel.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 402, -1, -1));

        jPanel3.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPanel3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        totalVencerjLabel.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N
        totalVencerjLabel.setForeground(new java.awt.Color(0, 153, 51));
        totalVencerjLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        totalVencerjLabel.setText("0,00");
        jPanel3.add(totalVencerjLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 10, 150, -1));

        AssociadosjPanel.add(jPanel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 420, 160, 40));

        jLabel4.setText("Total Vencidas");
        AssociadosjPanel.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(450, 402, -1, 20));

        jPanel7.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPanel7.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        totalVencidasjLabel.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N
        totalVencidasjLabel.setForeground(java.awt.Color.red);
        totalVencidasjLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        totalVencidasjLabel.setText("0,00");
        jPanel7.add(totalVencidasjLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 140, -1));

        AssociadosjPanel.add(jPanel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 420, 160, 40));

        jLabel1.setText("Total a Receber");
        AssociadosjPanel.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(640, 402, -1, -1));

        jPanel6.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPanel6.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        totaljLabel.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N
        totaljLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        totaljLabel.setText("0,00");
        jPanel6.add(totaljLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 140, -1));

        AssociadosjPanel.add(jPanel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(640, 420, 160, 40));

        getContentPane().add(AssociadosjPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 860, 560));

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void abrirLiquidar(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_abrirLiquidar
        // TODO add your handling code here
        new  FrmReceber();
    }//GEN-LAST:event_abrirLiquidar

    private void ContasjTabbedPaneVetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {//GEN-FIRST:event_ContasjTabbedPaneVetoableChange
        // TODO add your handling code here:
        
    }//GEN-LAST:event_ContasjTabbedPaneVetoableChange

    private void ContasjTabbedPanePropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_ContasjTabbedPanePropertyChange
        // TODO add your handling code here:
       
    }//GEN-LAST:event_ContasjTabbedPanePropertyChange

    private void ContasjTabbedPaneStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_ContasjTabbedPaneStateChanged
//        if (ContasjTabbedPane.getSelectedIndex()==0){
//            try {
//                List<ContasReceber> listaContasReceber = dao.getContaVencendo();
//                model = null;
//                model = new ContasReceberTableModel(listaContasReceber);
//            } catch (DAOException ex) {
//            ex.printStackTrace();
//            model = new ContasReceberTableModel(new ArrayList<ContasReceber>());
//            }
//            VencendojTable.setModel(model);
//        }
//        if (ContasjTabbedPane.getSelectedIndex()==1){
//            try {
//                List<ContasReceber> listaContasReceber = dao.getContaVencer();
//                model = null;
//                model = new ContasReceberTableModel(listaContasReceber);
//            } catch (DAOException ex) {
//            ex.printStackTrace();
//            model = new ContasReceberTableModel(new ArrayList<ContasReceber>());
//            }
//            VencerjTable.setModel(model);
//        }
//        if (ContasjTabbedPane.getSelectedIndex()==2){
//            try {
//                List<ContasReceber> listaContasReceber = dao.getContaVencida();
//                model = null;
//                model = new ContasReceberTableModel(listaContasReceber);
//            } catch (DAOException ex) {
//            ex.printStackTrace();
//            model = new ContasReceberTableModel(new ArrayList<ContasReceber>());
//            }
//            VencidajTable.setModel(model);
//        }

    }//GEN-LAST:event_ContasjTabbedPaneStateChanged

    private void VoltarjButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_VoltarjButtonActionPerformed
        this.dispose();
    }//GEN-LAST:event_VoltarjButtonActionPerformed

    /**
    * @param args the command line arguments
    */
   

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton AdicionarjButton;
    private javax.swing.JPanel AssociadosjPanel;
    private javax.swing.JToolBar BarradeTarefasjToolBar;
    private javax.swing.JTabbedPane ContasjTabbedPane;
    private javax.swing.JLabel CredorjLabel;
    private javax.swing.JButton DependentejButton;
    private javax.swing.JButton EditarjButton;
    private javax.swing.JButton ExcluirjButton;
    private javax.swing.JButton ImprimirjButton;
    private javax.swing.JTextField PesquisadeAssociadosjTextField;
    private javax.swing.JButton PesquisarjButton;
    private javax.swing.JButton RelatoriojButton;
    private javax.swing.JToolBar.Separator SeparadordeTarefasjSeparator;
    private javax.swing.JTable VencendojTable;
    private javax.swing.JTable VencerjTable;
    private javax.swing.JTable VencidajTable;
    private javax.swing.JButton VisualizarjButton;
    private javax.swing.JButton VoltarjButton;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JLabel totalVencendojLabel;
    private javax.swing.JLabel totalVencerjLabel;
    private javax.swing.JLabel totalVencidasjLabel;
    private javax.swing.JLabel totaljLabel;
    // End of variables declaration//GEN-END:variables

}
